pub struct UserRegister {
    pub model: String,
    pub account: Option<String>,
    pub password: Option<String>,
    pub nickname: Option<String>,
    pub phone: Option<String>,
    pub captcha: Option<String>,
}
pub fn register(register: UserRegister) -> Result<(), Box<dyn std::error::Error>> {
    if register.model == "dialog" {}
    Ok(())
}
